﻿#pragma once


// CTcpipDlg 对话框

class CTcpipDlg : public CDialogEx
{
	DECLARE_DYNAMIC(CTcpipDlg)

public:
	CTcpipDlg(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CTcpipDlg();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DIALOG_TCPIP };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	void ReadConfigIni();
	void SaveValueToConfig();

	virtual BOOL OnInitDialog();
	virtual void OnCancel();
	CComboBox m_comboTcpMode;
	afx_msg void OnBnClickedButtonSave();
	afx_msg void OnBnClickedButtonBuild();
	CIPAddressCtrl m_ipAdd;
	int m_nPort;
	BOOL m_bCheckAuto;
	afx_msg void OnBnClickedButton1();
	double glueWidthUp;
	double glueWidthLow;
};
